﻿namespace Rio.Framework.Pages.Viewer
{
    public class Format
    {
        string _name;
        string _extensions;

        public string Name
        {
            get
            {
                return _name;
            }
            set
            {
                _name = value;
            }
        }

        public string Extensions
        {
            get
            {
                return _extensions;
            }
            set
            {
                _extensions = value;
            }
        }

        public override string ToString()
        {
            return string.Format("{0} ( {1} )|{2}", Name, Extensions, Extensions);
        }

        public Format(string name, string extensions)
        {
            _name = name;
            _extensions = extensions;
        }
    } ;
}
